﻿namespace GreenIsomer.Data.Entities.Ddl {
	using System.Collections.Generic;
	using System.Collections.ObjectModel;

	public class ExtendedTableDefCollection : Collection<ExtendedTableDef> {

		public ExtendedTableDefCollection() { }

		public virtual ExtendedTableDef Find(string tableName) {
			foreach(ExtendedTableDef item in this)
				if(item.Name == tableName)
					return item;
			return null;
		}
	}

}